const STORAGE_KEY = 'mjui'
export default {
	fetch: function() {
		return JSON.parse(window.localStorage.getItem(STORAGE_KEY)
		 || '[]')
	},
	save:function(items) {
		window.localStorage.setItem(STORAGE_KEY, JSON.stringify(items))
	},
	remove:function() {
		window.localStorage.removeItem(STORAGE_KEY)
	}
}
